Ext.define('A4.controller.desktop.RoleManagercontroller',{
	extend:'Ext.app.Controller',
	views:[
		'A4.view.desktop.rolemanager.CreateRoleView',
		'A4.view.desktop.rolemanager.EditRoleView'
	],
	init:function(){
		this.control({
			'button[id=role-manager-create-role]':{
				click:function(){
					Ext.create('A4.view.desktop.rolemanager.CreateRoleView');
				}
			},
		
		'button[id=update-manager-update-role]':{
				click:function(){
					Ext.create('A4.view.desktop.rolemanager.EditRoleView');
				}
			}
		
		
		
		});
	}
});